SftTree/NET 2.0

OnColumnReordered Method, SftTree Class

Softel vdm, Inc.

Raises the ColumnReordered event.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Protected Overridable Sub OnColumnReordered( ByVal e As ColumnReorderedEventArgs )

C#   

protected virtual void OnColumnReordered( ColumnReorderedEventArgs e );

C++   

protected: virtual void OnColumnReordered( ColumnReorderedEventArgs^ e );

e

The event data.

Comments

The OnColumnReordered method raises the ColumnReordered event.

Raising an event invokes the event handler through a delegate.

The OnColumnReordered method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

When overriding OnColumnReordered in a derived class, make sure to call the base class's OnColumnReordered method so that registered delegates receive the event.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com